Use the nthcdr byte-op for drop, and raise open-code limit
authorMattias Engdegård <mattiase@acm.org>
Mon, 29 Apr 2024 18:24:07 +0000 (20:24 +0200)
committerMattias Engdegård <mattiase@acm.org>
Mon, 29 Apr 2024 20:16:08 +0000 (22:16 +0200)
commit3000edc6179dfe0b5f24ae2e472826530809dfd1
tree278ba4939b4210aff5c3666c1cc994a78e75efb1
parent97a2710554fbd10a0c866e890f507e391620e769
Use the nthcdr byte-op for drop, and raise open-code limit

* lisp/emacs-lisp/byte-opt.el (byte-optimize-nthcdr):
Open-code for any integral N<5.  Always use the byte-op otherwise.
lisp/emacs-lisp/byte-opt.el